package com.haina.shop.mapper;

import com.haina.shop.domain.Area;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author 48077
* @description 针对表【tz_area】的数据库操作Mapper
* @createDate 2024-07-31 18:34:29
* @Entity com.haina.shop.domain.Area
*/
public interface AreaMapper extends BaseMapper<Area> {

    @Select("select * from tz_area where parent_id = #{param}")
    List<Area> selByPid(long pid);
}




